package cn.novel.bm.domain.novel;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Type;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
import java.util.UUID;

/**
 * Created on 2020/8/3 5:46 下午
 *
 * @author barry
 * Description:
 */
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NovelRole {

    @Id
    @Type(type = "org.hibernate.type.PostgresUUIDType")
    private UUID roleId;
    private String roleName;
    private String roleClass;
    private String gender;
    private String age;
    private String characters;

    private Date createAt;
    private Date updateAt;
}
